﻿// // ******************************************************************
// //       /\ /|       @file       Auto_Subtitle.cs
// //       \ V/        @brief      await29
// //       | "")       @author     Await, 285283010@qq.com
// //       /  |
// //      /  \\        @Modified   2024-12-31 20:12
// //    *(__\_\        @Copyright  Copyright (c) , 2024-12-31 18:12 Await
// // ******************************************************************

namespace AutomaticSubtitles.Service.DataAccess.Model;

public class Auto_Subtitle : BaseModel
{
    public Auto_Subtitle()
    {
    }

    public Auto_Subtitle(string id) : base(id)
    {
    }

    public string  VideoId  { get; set; }
    public string  Name     { get; set; }
    public string? Language { get; set; }
    public string  Path     { get; set; }

    /// <summary>
    ///     是否默认
    /// </summary>
    public bool IsDefault { get; set; }

    /// <summary>
    /// 是否媒体文件
    /// </summary>
    public bool IsMediaFile { get; set; } = false;

    /// <summary>
    /// 字幕位置
    /// </summary>
    public int? Index { get; set; }

    public DateTime? UpdateTime { get; set; }

    public decimal Size { get; set; }

    public virtual Auto_Media AutoMedia { get; set; }
}